/**
 * fileName:  NutritionRelationEntity.java
 * author:  Pitaya
 * Company:  Cloudland Studio
 * Createdate:  2014-5-27 下午02:13:29
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-5-27          Pitaya            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.masterdata.store.entity;

import org.cloudland.commercial.masterdata.bean.NutritionType;

 /**
 * <pre> 
 * TODO 水果营养关系表实体
 * 使用 java.lang.Object#toString(), 或者 {@link java.lang.Character Character} 等标签
 * </pre>
 * @ClassName  NutritionRelationEntity
 * @author  Pitaya
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class FruitNutritionEntity {
	
	/**
	 * id 主键编号
	 */
	private String id;
	
	/**
	 * fruitId 水果编号
	 */
	private String fruitId;
	
	/**
	 * nutritionId 营养编号
	 */
	private String nutritionId;                   
	  
	/**
	 * nutritionScalar 营养含量
	 */
	private Double nutritionScalar; 
	
	/**
	 * calculate 计量单位
	 */
	private Integer calculate; 
	
	/**
	 * sort 排列属性
	 */
	private Integer sort;                        

	/**
	 * nutritionType 营养类型，1:营养素,2:维生素,3:矿物质
	 */
	private NutritionType nutritionType;                
	
	/**
	 * <pre>
	 * TODO 请充分描述该构造函数的作用，及其参数的作用。
	 * </pre>
	 *   
	 */
	public FruitNutritionEntity() {
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * <pre>
	 * TODO 请充分描述该构造函数的作用，及其参数的作用。
	 * </pre>
	 *
	 * @param nutritionId 营养编号
	 * @param nutritionScalar 营养含量
	 * @param calculate 计量单位
	 * @param sort 排列属性
	 * @param nutritionType 营养类型，1:营养素,2:维生素,3:矿物质  
	 */
	public FruitNutritionEntity(String fruitId, String nutritionId, Double nutritionScalar, Integer calculate, Integer sort, NutritionType nutritionType) {
		this.fruitId = fruitId;
		this.nutritionId = nutritionId;
		this.nutritionScalar = nutritionScalar;
		this.calculate = calculate;
		this.sort = sort;
		this.nutritionType = nutritionType;
	}

	/**
	 * get nutritionId
	 * @return nutritionId
	 */
	public String getNutritionId() {
		return nutritionId;
	}

	/**
	 * set nutritionId
	 * @param nutritionId the value of nutritionId
	 */
	public void setNutritionId(String nutritionId) {
		this.nutritionId = nutritionId;
	}

	/**
	 * get nutritionScalar
	 * @return nutritionScalar
	 */
	public Double getNutritionScalar() {
		return nutritionScalar;
	}

	/**
	 * set nutritionScalar
	 * @param nutritionScalar the value of nutritionScalar
	 */
	public void setNutritionScalar(Double nutritionScalar) {
		this.nutritionScalar = nutritionScalar;
	}
	
	/**
	 * get calculate
	 * @return calculate
	 */
	public Integer getCalculate() {
		return calculate;
	}

	/**
	 * set calculate
	 * @param calculate the value of calculate
	 */
	public void setCalculate(Integer calculate) {
		this.calculate = calculate;
	}

	/**
	 * get sort
	 * @return sort
	 */
	public Integer getSort() {
		return sort;
	}

	/**
	 * set sort
	 * @param sort the value of sort
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

	/**
	 * get nutritionType
	 * @return nutritionType
	 */
	public NutritionType getNutritionType() {
		return nutritionType;
	}

	/**
	 * set nutritionType
	 * @param nutritionType the value of nutritionType
	 */
	public void setNutritionType(NutritionType nutritionType) {
		this.nutritionType = nutritionType;
	}

	/**
	 * get fruitId
	 * @return fruitId
	 */
	public String getFruitId() {
		return fruitId;
	}

	/**
	 * set fruitId
	 * @param fruitId the value of fruitId
	 */
	public void setFruitId(String fruitId) {
		this.fruitId = fruitId;
	}

	/**
	 * get id
	 * @return id
	 */
	public String getId() {
		return id;
	}

	/**
	 * set id
	 * @param id the value of id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
}
